<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--从request域对象当中取出绑定数据--%>
<h2>获取绑定的pId: ${pId}</h2>
<h2>获取绑定的javaBean: ${user}</h2>
<h2>获取绑定的javaBean: ${user.username}</h2>
<h2>获取绑定的javaBean: ${user.password}</h2>
<h2>获取绑定的javaBean: ${user.age}</h2>
<hr>

<h3>获取绑定的map对象：${myMap}</h3>
<h3>获取绑定的map对象：${myMap.userData}</h3>
<h3>获取绑定的map对象：${myMap.userData.username}</h3>
<h3>获取绑定的map对象：${myMap.userData.password}</h3>
<h3>获取绑定的map对象：${myMap.userData.age}</h3>
<h3>获取绑定的map对象：${myMap.time}</h3>
<h3>获取绑定的map对象：${myMap.array}</h3>
<h3>获取绑定的map对象：${myMap.array[0]}</h3>
<h3>获取绑定的map对象：${myMap.array[1]}</h3>
<h3>获取绑定的map对象：${myMap.array[2]}</h3>
<h3>获取绑定的map对象：${str}</h3>
<hr>

<h2>获取绑定的数组值：${myArrays}</h2>
<h2>获取绑定的数组值：${myArrays[0]}</h2>
<h2>获取绑定的数组值：${myArrays[1]}</h2>
<h2>获取绑定的数组值：${myArrays[2]}</h2>
<hr>

<h3>获取绑定的list集合：${lists}</h3>
<h3>获取绑定的list集合：${lists[0]}</h3>
<h3>获取绑定的list集合：${lists[1]}</h3>
<h3>获取绑定的list集合：${lists[1].username}</h3>
<h3>获取绑定的list集合：${lists[1].password}</h3>
<h3>获取绑定的list集合：${lists[1].age}</h3>
<h3>获取绑定的list集合：${lists[2]}</h3>

<hr>
<h1>empty运算：${empty lists}</h1>
<h1>条件运算符：${empty lists ? user : myArrays}</h1>

</body>
</html>
